Skip to main content
POST
/
api
/
image
/
editing
/
image-invisible-text-watermarking
Image Invisible Text Watermark
curl --request POST \
  --url https://www.ailabapi.com/api/image/editing/image-invisible-text-watermarking \
  --header 'Content-Type: multipart/form-data' \
  --header 'ailabapi-api-key: <api-key>' \
  --form 'function_type=<string>' \
  --form origin_image='@example-file' \
  --form 'text=<string>' \
  --form 'output_file_type=<string>' \
  --form watermark_image='@example-file' \
  --form 'quality_factor=<string>'
{ "request_id": "", "log_id": "", "error_code": 0, "error_code_str": "", "error_msg": "", "error_detail": { "status_code": 200, "code": "", "code_message": "", "message": "" }, "data": { "watermark_image_url": "", "text_image_url": "" } }

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
function_type
string

Specifies the calling function.

origin_image
file

Original image.

text
string

The text of the watermark to be added.

output_file_type
string

Output format.

watermark_image
file

The image to be resolved, i.e., a composite image with a text watermark.

quality_factor
string

The quality size of the output image, the higher the quality the larger the image.

Response

200 - application/json

Success

The response is of type object.